package com.chandra.pos.order.dao;

import com.chandra.pos.order.dao.entity.OrderItemEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by dnagarajan on 3/28/2015.
 */
@Transactional(readOnly = true)
public interface OrderItemRepository extends JpaRepository<OrderItemEntity, Long> {

    List<OrderItemEntity> findByOrderId(long orderId);
}
